package com.homedo.odin.solution.contract.pc;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "PC获取栏目列表")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PcColumnListRequestBean {

    @ApiModelProperty(value = "品牌厂商id (品牌主栏目列表查询必传)")
    private Integer brandFirmUserId;

    @ApiModelProperty(value = "栏目类型(1.专栏栏目2.视频栏目)非必传(需要对应类型的数据才传) ")
    private Integer columnType;

    @ApiModelProperty(value = "栏目标签获取栏目数据必传:黑科技，方案解析，每日三分钟,优秀设计师")
    private String tagName;

    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码不能为空")
    @Min(value = 0, message = "当前页码参数非法")
    private Integer currentPage;

    @ApiModelProperty(value = "每页记录数", required = true)
    @NotNull(message = "每页记录数不能为空")
    @Min(value = 0, message = "每页记录数参数非法")
    private Integer pageSize;

}
